package com.example.demo.service;

import com.example.demo.service.dto.TaskDto;

import java.util.List;
import java.util.Map;

public interface ActivitiRunService {
    String deploy(String name);
    String startProcess(Map<String,Object> params);
    void cancelProcess(String processInstanceId);
    List<TaskDto> assignTask(String assignee);
    List<TaskDto> candiUserTask(String assignee);
    String candiUserFinishedTask(String assignee);
    String approveTask(String taskId,String assignee, boolean passed,String rejectReason);
    String testQueryHistory(String instanceId);
}
